package com.wangzhixuan.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-07-26
 */
@TableName("job_analysis")
public class Analysis extends Model<Analysis> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 工作表id
     */
	@TableField("work_id")
	private Integer workId;
    /**
     * 问题现象id
     */
	@TableField("type_phenomenon_id")
	private Integer typePhenomenonId;
    /**
     * 问题原因id
     */
	@TableField("type_reason_id")
	private Integer typeReasonId;
    /**
     * 问题现象解决方法id
     */
	@TableField("method_id")
	private Integer methodId;
    /**
     * 问题处理状态 【未处理：0】【解决问题：1】，【未解决问题：2】
     */
	private String status;
    /**
     * 创建人
     */
	@TableField("create_id")
	private Integer createId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getWorkId() {
		return workId;
	}

	public void setWorkId(Integer workId) {
		this.workId = workId;
	}

	public Integer getTypePhenomenonId() {
		return typePhenomenonId;
	}

	public void setTypePhenomenonId(Integer typePhenomenonId) {
		this.typePhenomenonId = typePhenomenonId;
	}

	public Integer getTypeReasonId() {
		return typeReasonId;
	}

	public void setTypeReasonId(Integer typeReasonId) {
		this.typeReasonId = typeReasonId;
	}

	public Integer getMethodId() {
		return methodId;
	}

	public void setMethodId(Integer methodId) {
		this.methodId = methodId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getCreateId() {
		return createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
